package com.dj.mingkong.portal.biz.core.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * 配置文件
 *
 * @author zenglonghui
 * @date: 2022/5/27 8:56
 */
@Data
@Component
public class BaseConfig {
    @Value("${dj.user.default.img}")
    private String userDefaultImg;

    @Value("${dj.box.default.img}")
    private String boxDefaultImg;

    @Value("${dj.music.format}")
    private String musicFormat;

    @Value("${dj.music.upload-count}")
    private Integer musicUploadCount;

    @Value("${dj.request-limit.count}")
    private int requestLimitCount;

    @Value("${dj.request-limit.time}")
    private long requestLimitTime;
}
